<template>
  <div>
    <input type="number" v-model.number="n1">+
    <input type="number" v-model.number="n2">=
    <span>{{ n1 + n2 }}</span>
  </div>
</template>
<script setup>
import { ref } from 'vue'
const n1 = ref(10)
const n2 = ref(20)
</script>
<style scoped>

</style>